package com.weishu.core.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.weishu.core.entity.SysUser;
import com.weishu.core.entity.UserEntity;

/**
 * <p>
 * 系统用户 Mapper 接口
 * </p>
 *
 * @author zgx
 * @since 2021-10-19
 */
public interface SysUserMapper extends BaseMapper<UserEntity> {

    Integer register(UserEntity sysUser);

    UserEntity getByPhone(String phone);
}
